home *** CD-ROM | disk | FTP | other *** search
/ Euroscene 1 / Euroscene 1.iso / resource / adev11_12.lha / docs / slink.doc < prev   
Encoding:
Text File  |  1992-07-12  |  1.9 KB  |  49 lines

  1. NAME
  2.  
  3.     slink
  4.  
  5. SYNOPSIS
  6.  
  7.     slink [FROM <1+>] [TO <1>] [WITH <1>] [LIB <1+>] [MEM <range> <1+>]
  8.  
  9.             <1>  - one file
  10.             <1+> - one or more files (separated by commas)
  11.             <range> = <hex address>-<hex address>
  12.  
  13. DESCRIPTION
  14.  
  15. Slink is the linker for the DEV11 system. The following keywords are
  16. recognized by slink:
  17.  
  18. FROM            Provides a list of object files that will become the root
  19.                 of the output file.  FROM must be used once and may be
  20.                 used more than once with each use adding to the root, but
  21.                 you must specify at least one file for each use.
  22.  
  23. LIB             Provides a list of library files to be scanned to resolve
  24.                 symbols not found in the root files. Only the modules
  25.                 containing the unresolved symbols will be included in the
  26.                 output file.  LIB can be used more than once.
  27.  
  28. MEM             Specifies an area of memory and provides a list of the
  29.                 segment names that are to be located in that area.  The
  30.                 linker must know where to place every segment that is used.
  31.                 MEM is usually used more than once.
  32.  
  33. TO              Specifies the output file to create.  The file will be an
  34.                 S-record format file. TO must be used once and only once.
  35.  
  36. WITH            Specifies a file that contains keyword commands to be
  37.                 processed by slink.  The file may be broken into lines,
  38.                 but each line must start with a keyword.  A WITH file
  39.                 can WITH another file and more than one WITH file may
  40.                 be used.  An example file might look as shown below.
  41.                     FROM download.o
  42.                     TO download.sr
  43.                     MEM 100-7fff EXT_RAM
  44.                     MEM 8000-83ff INT_RAM
  45.                     MEM 0-ff ZPAGE
  46.                     MEM fe00-ffd5 EEPROM
  47.                     MEM ffd6-ffff VECTORS
  48.  
  49.